/*
 * Copyright 2002-2017 the original author or authors.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package com.deservel.wxopen.constant;


import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Component;

/**
 * @author DeserveL
 * @date 2017/7/10 11:53
 * @since 1.0.0
 */
@Component
@ConfigurationProperties(prefix="url")
@PropertySource("classpath:url.properties")
public class UrlConsts {

    private String access_token;
    private String menu_create;
    private String access_token_web;
    private String userinfo;

    public String getAccess_token() {
        return access_token;
    }

    public void setAccess_token(String access_token) {
        this.access_token = access_token;
    }

    public String getMenu_create() {
        return menu_create;
    }

    public void setMenu_create(String menu_create) {
        this.menu_create = menu_create;
    }

    public String getAccess_token_web() {
        return access_token_web;
    }

    public void setAccess_token_web(String access_token_web) {
        this.access_token_web = access_token_web;
    }

    public String getUserinfo() {
        return userinfo;
    }

    public void setUserinfo(String userinfo) {
        this.userinfo = userinfo;
    }
}
